package com.tz.farmer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.smartPark.msframe.result.ResultEx;
import com.tz.farmer.model.FarmerActives;
import com.tz.farmer.so.FarmerActivesSo;
import com.tz.farmer.vo.EnrollInfoVo;


import java.util.List;

public interface WebFarmerActivesService extends IService<FarmerActives> {


    /**
     * 条件查询
     * @param so
     * @return
     */
    ResultEx getActivesListByConditions(FarmerActivesSo so);


    /**
     * 修改并添加且删除
     * @param so
     * @return
     */
    ResultEx updateAndAddActives(FarmerActivesSo so);

    /**
     * 查看报名人员信息
     * @param so
     * @return
     */
    ResultEx getActivesApplyPeopleList(FarmerActivesSo so);

    /**
     * 导出
     * @return
     */
    List<EnrollInfoVo> getApplyPeopleDownLoadList(FarmerActivesSo so);

    /**
     * 查看单条
     * @param so
     * @return
     */
    ResultEx getOneDetails(FarmerActivesSo so);

    /**
     * 删除一条
     * @param so
     * @return
     */
    ResultEx deleteOne(FarmerActivesSo so);
}
